home *** CD-ROM | disk | FTP | other *** search
/ Your Choice 3 / Your Choice Software Collection 3.iso / prgmming / swag08 / desqview.swg < prev    next >
Text File  |  1994-09-22  |  1KB  |  1 lines

  1. SWAGOLX.EXE (c) 1993 GDSOFT  ALL RIGHTS RESERVED 00001                                                                           1      08-24-9413:33ALL                      JEFF GUILLAUME           Access to DesqView       SWAG9408    µ2│    9      t   {π      Simply pass a number (1-3) through it:π         1 -- Switches to next windowπ         2 -- Pops up the Alt menuπ              ^^^^^^^^^^^^^^^^^^^^ this is what you wantπ         3 -- Close the current windowππ      I don't know about Alt-H though.. I know that if you used ReadKeyπ      you'd have to read it twice -- once for the #0 (tells you thatπ      it is an extended code) -- again for the extended code (35=Alt-H).ππ      Hope this helps!  Good luck.π      -- Jeff.Guillaume@launchpad.unc.eduπ}ππProcedure DesqView(Func : Byte); ASSEMBLER;πASMπ  mov   AH, $05π  cmp   Func, 1           { Switch to next window }π  je    @SwitchNextπ  cmp   Func, 2           { Pop up Alt-menu }π  je    @PopDesqViewπ  cmp   Func, 3           { Close current window }π  je    @CloseWinπ π@SwitchNext:π  mov   CX, $FB00π  jmp   @CallIntπ π@PopDesqView:π  mov   CX, $FC00π  jmp   @CallIntπ π@CloseWin:π  mov   CX, $FE00π π@CallInt:π  int   $16π πEnd; {* DesqView *}π